package cn.sinata.wanglin.model;

import java.util.ArrayList;
import java.util.List;

/**
 *
 * Created by liaoxiang on 16/12/12.
 */

public class Group {


    /**
     * groupAccount : 511245
     * groupImg : 21
     * groupName : 1132
     * groupsCount : 1
     * groupLable : 1132
     * groupInfo : 1
     * id : 3
     * memberList : []
     * userID : 2
     */

    private String groupAccount;
    private String groupImg;
    private String groupName;
    private int groupsCount;
    private String groupLable;
    private String groupInfo;
    private String id;
    private String userID;
    private String headUrl;
    private String nickName;
    private String housingName;
    private String groupNickName;//群主的群昵称
    private String otherNickName;//非群主的群昵称
    private List<Member> memberList;
    private int applyStatus=-1;//申请状态（0：申请中；1：申请通过 2，申请不通过，3，没有申请）
    private int msgStatus;//免打扰状态（0：否 1：是）

    public String getGroupAccount() {
        return groupAccount;
    }

    public void setGroupAccount(String groupAccount) {
        this.groupAccount = groupAccount;
    }

    public String getGroupImg() {
        return groupImg==null?"":groupImg;
    }

    public void setGroupImg(String groupImg) {
        this.groupImg = groupImg;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public int getGroupsCount() {
        return groupsCount;
    }

    public void setGroupsCount(int groupsCount) {
        this.groupsCount = groupsCount;
    }

    public String getGroupLable() {
        return groupLable;
    }

    public void setGroupLable(String groupLable) {
        this.groupLable = groupLable;
    }

    public String getGroupInfo() {
        return groupInfo==null?"无":groupInfo;
    }

    public void setGroupInfo(String groupInfo) {
        this.groupInfo = groupInfo;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserID() {
        return userID;
    }

    public void setUserID(String userID) {
        this.userID = userID;
    }

    public List<Member> getMemberList() {
        return memberList==null?new ArrayList<Member>():memberList;
    }

    public void setMemberList(List<Member> memberList) {
        this.memberList = memberList;
    }

    public String getHeadUrl() {
        return headUrl==null?"":headUrl;
    }

    public void setHeadUrl(String headUrl) {
        this.headUrl = headUrl;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public int getApplyStatus() {
        return applyStatus;
    }

    public void setApplyStatus(int applyStatus) {
        this.applyStatus = applyStatus;
    }

    public String getGroupNickName() {
        return groupNickName;
    }

    public void setGroupNickName(String otherNickName) {
        this.groupNickName = otherNickName;
    }

    public String getOtherNickName() {
        return otherNickName;
    }

    public void setOtherNickName(String otherNickName) {
        this.otherNickName = otherNickName;
    }

    public int getMsgStatus() {
        return msgStatus;
    }

    public void setMsgStatus(int msgStatus) {
        this.msgStatus = msgStatus;
    }

    public String getHousingName() {
        return housingName;
    }

    public void setHousingName(String housingName) {
        this.housingName = housingName;
    }

    @Override
    public String toString() {
        return "Group{" +
                "groupAccount='" + groupAccount + '\'' +
                ", groupImg='" + groupImg + '\'' +
                ", groupName='" + groupName + '\'' +
                ", groupsCount=" + groupsCount +
                ", groupLable='" + groupLable + '\'' +
                ", groupInfo='" + groupInfo + '\'' +
                ", id='" + id + '\'' +
                ", userID='" + userID + '\'' +
                ", headUrl='" + headUrl + '\'' +
                ", nickName='" + nickName + '\'' +
                ", housingName='" + housingName + '\'' +
                ", groupNickName='" + groupNickName + '\'' +
                ", otherNickName='" + otherNickName + '\'' +
                ", memberList=" + memberList +
                ", applyStatus=" + applyStatus +
                ", msgStatus=" + msgStatus +
                '}';
    }
}
